const location = {
    state: {
        Location:[],//经纬度数组
        LocationName:''
    },
    getters: {
        getLocation(state){
            return state.Location
        },
        getLocationName(state){
            return state.LocationName
        }
    },
    mutations: {
        saveLocation(state,Location){
            state.Location=Location
        },
        saveLocationName(state,LocationName){
            state.LocationName=LocationName
        }
    },
    actions: {}
}
export default location
